Skip to content

Fix partial outputs in the Qwen-Audio-Jev first-task example - #3999

Merged
LauraGPT merged 1 commit into
mainfrom
codex/jev-example-complete-output
Dec 1, 2026
Merged

LauraGPT merged 1 commit into
mainfrom
codex/jev-example-complete-output

Conversation

@LauraGPT

@LauraGPT LauraGPT commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

The first Jev example used to accept output paths inside the weights directory. A short write could also leave a truncated decision.json that a retry refused to replace.

Reject checkpoint destinations (including directory symlinks) and existing or dangling outputs before constructing the model. Finish writing a private sibling file before linking it into place; a concurrently created result is not replaced. Both tutorials explain the filesystem requirement.

Validation: on Shanghai Linux the original CLI failed 4 of 7 new output cases. The revised CLI passed all seven, including a real file-size limit and an exclusive-create race. The complete example workflow selection passed 27/27. One public instrument clip on an idle L20Z with the pinned official Tiny snapshot, offline: the 663 output bytes matched the earlier reference exactly (choice: bass). No changes to inference code or checkpoint files; not a general accuracy or durability benchmark.

Write the completed JSON to a sibling temporary file and link it without replacing a racing output. Reject checkpoint paths before loading the model. Cover short writes and output conflicts in the example CI matrix.

Signed-off-by: LauraGPT <zhifu.gzf@alibaba-inc.com>
@LauraGPT
LauraGPT merged commit 4639c98 into main Dec 1, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant